package soap.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * Created by ZhangPY on 2021/11/15
 * Belong Organization OVERUN-9299
 * overun9299@163.com
 * Explain: ImageDto 存储图片对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("img_info")
public class ImageDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图片的key
     */
    @Id
    @TableId("img_key")
    private String imgKey;

    /**
     * 图片路径
     */
    @TableField("img_url")
    private String imgUrl;

    /**
     * 图片描述
     */
    @TableField("img_describe")
    private String imgDescribe;

    /**
     * 图片搜索关键字
     */
    @TableField("img_search_key")
    private String imgSearchKey;
}
